package com.pikaqiu.warehouse.domain.common;

import com.pikaqiu.warehouse.config.MiniConstant;
import lombok.Data;

import java.util.List;

/**
 * @Author: Administrator
 * @Date: 2024/8/13
 */
@Data
public class ReqCommonParams {

    private String token;

    private Integer userId;

    private String nickName;

    private Integer companyId;

    private String companyCode;

    private List<Integer> userCompanyIdList;

    public ReqCommonParams() {
    }

    public ReqCommonParams(String token) {
        this.token = token;
        this.companyId = MiniConstant.DEFAULT_COMPANY_ID;
    }
}
